package org.zuel.boot.demo.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ikun
 * @since 2025-03-17
 */
@Data
    @EqualsAndHashCode(callSuper = false)
@TableName("demo_perm")
@ApiModel(value="DemoPerm", description="")
    public class DemoPerm implements Serializable {

    private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "主键")

                @TableId(value = "id", type = IdType.AUTO)

    
    
    
private Integer id;
        @ApiModelProperty(value = "拼音码")

                @TableField("spell_code")

    
    
    
private String spellCode;
        @ApiModelProperty(value = "权限名称")

                @TableField("name")

    
    
    
private String name;
        @ApiModelProperty(value = "菜单模块")

                @TableField("module_id")

    
    
    
private Integer moduleId;
        @ApiModelProperty(value = "所属菜单")

                @TableField("menu_id")

    
    
    
private Integer menuId;
        @ApiModelProperty(value = "权限地址")

                @TableField("perm_url")

    
    
    
private String permUrl;
        @ApiModelProperty(value = "权限表达式")

                @TableField("perm_el")

    
    
    
private String permEl;
        @ApiModelProperty(value = "匿名权限")

                @TableField("anon_status")

    
    
    
private Integer anonStatus;
        @ApiModelProperty(value = "顺序号")

                @TableField("order_num")

    
    
    
private Integer orderNum;
        @ApiModelProperty(value = "备注信息")

                @TableField("remark")

    
    
    
private String remark;

                @TableField("add_time")

    
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")

    
private Date addTime;

                @TableField("update_time")

    
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")

    
private Date updateTime;
        @ApiModelProperty(value = "逻辑删除")

                @TableField("deleted")

    
    
        @TableLogic

private Boolean deleted;




}